#include "I_Actor.h"

I_Actor::I_Actor()
{
	m_pAsset = NULL;
	m_pBaseMaterial = NULL;
	m_pWS = NULL;
	m_pProgram = NULL;
	m_nWS_Id = 0;
}

I_Actor::~I_Actor()
{
	m_pAsset = NULL;
	m_pBaseMaterial = NULL;
	m_pWS = NULL;
	m_pProgram = NULL;
}

I_Asset					*	I_Actor::Asset() { return m_pAsset; }
void							I_Actor::Asset(I_Asset *pAsset) { m_pAsset = pAsset; }

I_BaseMaterial	*	I_Actor::BaseMaterial() { return m_pBaseMaterial; }
void							I_Actor::BaseMaterial(I_BaseMaterial * pBaseMaterial) { m_pBaseMaterial = pBaseMaterial; }

matrix4x4				*	I_Actor::pMatrixWS() { return m_pWS; }
void							I_Actor::pMatrixWS(matrix4x4 * pMatrix) { m_pWS = pMatrix; }

int								I_Actor::nMatrixWS() { return m_nWS_Id; }
void							I_Actor::nMatrixWS(int id) { m_nWS_Id = id; }

I_api_Program		*	I_Actor::Program() { return	m_pProgram; }
void							I_Actor::Program(I_api_Program *	pProgram) { m_pProgram = pProgram; }